package com.ljq;

public class Monster extends Creature {
    private int hp;
    private int CE;
    private Room currentRoom;
    @Override
    public void useArticle(Article article, Creature targetCreature) {
        article.useArticle(targetCreature);
//        System.out.println("攻击");
//        Monster.hp -= creature.CE;
//        creature.hp -= Monster.CE;
//        System.out.print("怪物剩余血量："+Monster.hp);
    }

    @Override
    public void setCurrentRoom() {

    }

    public Monster() {
    }

    public Monster(int hp, int CE) {
        this.hp = hp;
        this.CE = CE;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getCE() {
        return CE;
    }

    public void setCE(int CE) {
        this.CE = CE;
    }

    public Room getCurrentRoom() {
        return currentRoom;
    }

    public void setCurrentRoom(Room currentRoom) {
        this.currentRoom = currentRoom;
    }
}
